home *** CD-ROM | disk | FTP | other *** search
- import com.siemens.mp.game.Light;
- import javax.microedition.lcdui.Display;
- import javax.microedition.lcdui.Displayable;
- import javax.microedition.midlet.MIDlet;
-
- public class Dong extends MIDlet {
- // $FF: renamed from: if c
- private c field_0 = new c();
- // $FF: renamed from: for b
- private b field_1 = new b();
- // $FF: renamed from: do a
- private a field_2 = new a();
- // $FF: renamed from: a java.lang.Thread
- private Thread field_3;
-
- public void destroyApp(boolean var1) {
- Display.getDisplay(this).setCurrent((Displayable)null);
- this.field_0 = null;
- this.field_1 = null;
- this.field_2 = null;
- this.field_3 = null;
- ((MIDlet)this).notifyDestroyed();
- }
-
- public void pauseApp() {
- ((MIDlet)this).notifyPaused();
- }
-
- public void startApp() {
- System.gc();
- Light.setLightOn();
- Display.getDisplay(this).setCurrent(this.field_0);
- this.field_3 = new Thread(this.field_0);
- this.field_3.start();
-
- while(this.field_3.isAlive()) {
- }
-
- this.field_0.a();
- System.gc();
- Display.getDisplay(this).setCurrent(this.field_1);
- this.field_3 = new Thread(this.field_1);
- this.field_3.start();
-
- while(this.field_3.isAlive()) {
- }
-
- this.field_1.a();
- System.gc();
- Display.getDisplay(this).setCurrent(this.field_2);
- this.field_3 = new Thread(this.field_2);
- this.field_3.start();
-
- while(this.field_3.isAlive()) {
- }
-
- this.field_2.a();
- System.gc();
- Light.setLightOff();
- this.destroyApp(true);
- }
- }
-